package com.example.yk.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.yk.R
import com.example.yk.entity.BrandEntity

class BrandAdapter(list: MutableList<BrandEntity>):BaseQuickAdapter<BrandEntity,BaseViewHolder>(R.layout.item_brand,list) {
    override fun convert(holder: BaseViewHolder, item: BrandEntity) {
        holder.setText(R.id.name,item.name)
    }
}